package com.lrkj.property.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 报修单对象 tb_repair_order
 *
 * @author yajun_ren
 * @date 2021-07-27
 */
public class RepairOrder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 报修单id
     */
    private String id;

    /**
     * 小区id
     */
    @Excel(name = "小区id")
    private String communityId;

    /**
     * 报修内容
     */
    @Excel(name = "报修内容")
    private String repairContent;

    /**
     * 维修员
     */
    @Excel(name = "维修员")
    private String repairman;

    /**
     * 报修人
     */
    @Excel(name = "报修人")
    private String repairPerson;

    /**
     * 报修类型
     */
    @Excel(name = "报修类型")
    private Integer repairType;

    /**
     * 报修项
     */
    @Excel(name = "报修项")
    private Integer repairTerm;

    /**
     * 报修状态
     */
    @Excel(name = "报修状态")
    private Integer status;

    /**
     * 逻辑删除标识(1-正常；2-禁用)
     */
    private Integer isDeleted;

    /**
     * 是否需要回访(1-需要；2-不需要)
     */
    private String needReturnVisit;

    /**
     * 投诉建议id
     */
    private String repairsId;

    /**
     * 小区名称
     */
    private String communityName;

    private String unitId;

    private String floorId;

    private String floorName;

    private String roomId;

    private String roomName;

    /** 祖级ID */
    private String ancestors;

    private String deptId;

    private String deptName;

    private String serviceType;

    private String ownerName;

    private String serviceName;

    private String needVisitMes;

    public void setAncestors(String ancestors)
    {
        this.ancestors = ancestors;
    }

    public String getAncestors()
    {
        return ancestors;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setRepairContent(String repairContent) {
        this.repairContent = repairContent;
    }

    public String getRepairContent() {
        return repairContent;
    }

    public void setRepairman(String repairman) {
        this.repairman = repairman;
    }

    public String getRepairman() {
        return repairman;
    }

    public String getRepairPerson() {
        return repairPerson;
    }

    public void setRepairPerson(String repairPerson) {
        this.repairPerson = repairPerson;
    }

    public void setRepairType(Integer repairType) {
        this.repairType = repairType;
    }

    public Integer getRepairType() {
        return repairType;
    }

    public void setRepairTerm(Integer repairTerm) {
        this.repairTerm = repairTerm;
    }

    public Integer getRepairTerm() {
        return repairTerm;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public String getRepairsId() {
        return repairsId;
    }

    public void setRepairsId(String repairsId) {
        this.repairsId = repairsId;
    }

    public String getCommunityId() {
        return communityId;
    }

    public void setCommunityId(String communityId) {
        this.communityId = communityId;
    }

    public String getNeedReturnVisit() {
        return needReturnVisit;
    }

    public void setNeedReturnVisit(String needReturnVisit) {
        this.needReturnVisit = needReturnVisit;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

    public String getFloorId() {
        return floorId;
    }

    public void setFloorId(String floorId) {
        this.floorId = floorId;
    }

    public String getFloorName() {
        return floorName;
    }

    public void setFloorName(String floorName) {
        this.floorName = floorName;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getNeedVisitMes() {
        return needVisitMes;
    }

    public void setNeedVisitMes(String needVisitMes) {
        this.needVisitMes = needVisitMes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("communityId", getCommunityId())
                .append("repairContent", getRepairContent())
                .append("repairman", getRepairman())
                .append("repairPerson", getRepairPerson())
                .append("repairType", getRepairType())
                .append("repairTerm", getRepairTerm())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("isDeleted", getIsDeleted())
                .append("needReturnVisit", getNeedReturnVisit())
                .append("deptId", getDeptId())
                .append("serviceType", getServiceType())
                .append("roomId", getRoomId())
                .toString();
    }
}
